﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BuyingSpree_HPV.Model
{
    public class Config
    {
        public static Config _config = new Config();

        public static Config HeaderConfig
        {
            get { return _config; }
            set
            {
                _config = value;
            }
        }

        /**
         * 微信配置
         */
        public string cookies = "";
        public string tk = "";

        public string reqHeader = "GET https://miaomiao.scmttec.com/seckill/seckill/list.do?offset=0&limit=10&regionCode=5101 HTTP/1.1\n" +
                "Host: miaomiao.scmttec.com\n" +
                "Connection: keep-alive\n" +
                "Accept: application/json, text/plain, */*\n" +
                "Cookie: _xxhm_=%7B%22heade" +
                "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 MicroMessenger/7.0.9.501 NetType/WIFI MiniProgramEnv/Windows WindowsWechat\n" +
                "X-Requested-With: XMLHttpRequest\n" +
                "content-type: application/json\n" +
                "tk: wxapptoken:10:e0963da6b3e544f48fef5f6f27c32b5f\n" +
                "Referer: https://servicewechat.com/wxff8cad2e9bf18719/7/page-frame.html\n" +
                "Accept-Encoding: gzip, deflate, br\n" +
                "\n";

        /// <summary>
        /// 接种成员ID
        /// </summary>
        public int memberId;
        /// <summary>
        /// 接种成员身份证号码
        /// </summary>
        public string idCard;
        /// <summary>
        /// 接种成员姓名
        /// </summary>
        public string memberName;
        /**
         * 选择的地区代码
         */
        public string regionCode = "5101";

    }
}
